package com.kkb.billmngapi.service;


import com.kkb.billmngapi.dao.BillTypeDao;
import com.kkb.springcloudbill.entity.BillType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BillTypeService {
    @Autowired
    private BillTypeDao billTypeDao;

    public List<BillType> getAllBillType() {
        List<BillType> billTypes = billTypeDao.selectList(null);
        return billTypes;
    }
}
